//
//  CPBaseViewModel.m
//  
//  jhf
//
//  Created by 计海峰 on 2019/6/6.
//  Copyright © 2019 计海峰. All rights reserved.
//

#import "CPBaseViewModel.h"

@implementation CPBaseViewModel

- (instancetype)init
{
    self = [super init];
    if (self) {
        [self setup];
    }
    return self;
}

+ (NSArray *)mj_ignoredPropertyNames {
    return @[@"signal", @"checkFooterSignal"];
}

- (void)setup {
    
}

#pragma mark - private
- (RACSubject *)signal {
    if (!_signal) {
        _signal = [RACSubject subject];
    }
    return _signal;
}


- (RACSubject *)checkFooterSignal {
    if (!_checkFooterSignal) {
        _checkFooterSignal = [RACSubject subject];
    }
    return _checkFooterSignal;
}


@end
